package cn.tedu._03vehicle.mapper;

import cn.tedu._03vehicle.pojo.dto.VehicleListQuery;
import cn.tedu._03vehicle.pojo.entity.Vehicle;
import cn.tedu._03vehicle.pojo.vo.VehicleListVO;

import java.util.List;


public interface VehicleMapper {
    int selectByCode(String code);

    int insertVehicle(Vehicle vehicele);

    List<VehicleListVO> selectVehicleList(String brand, String license, Long userId);

    int deleteVehicle(Long id, Long userId);
}
